package com.robusta.app.catalogue.api;

import com.robusta.app.domain.catalogue.CatalogueEntry;
import com.robusta.app.domain.data.Pageable;
import com.robusta.app.domain.data.Searchable;
import com.robusta.app.domain.data.Sortable;

import java.util.List;

public interface CatalogueOperations {
    int searchCountFor(Searchable searchable);
    List<CatalogueEntry> searchEntries(Searchable searchable, Pageable pageable, Sortable sortable);
}
